Mollie\WooCommerce\Gateway\GatewayModule A

Total Complexity 63
Dependencies 32
Dependents 1
Total lines 524
Lines of code 398
Logical lines of code 245
Comment lines 56
Methods 12
Properties 2

Methods 12

Method Rating Maintainability Complexity Lines of code
run()
A
35 9 92
maybeDisableApplePayGateway()
A
48 12 32
maybeDisableBankTransferGateway()
A
53 12 20
instantiatePaymentMethodGateways()
A
38 5 84
services()
S
37 3 90
disableMollieOnPaymentMethodChange()
S
60 7 12
instantiatePaymentMethods()
S
51 3 27
mollieApplePayDirectHandling()
S
61 3 11
molliePayPalButtonHandling()
S
62 3 11
setOrderPaidByOtherGateway()
S
62 3 10
disableSEPAInCheckout()
S
71 2 6
gatewaySurchargeHandling()
S
81 1 3